package cc.ycws.core.job;

import cc.ycws.base.core.service.GenerateIDService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import java.util.concurrent.locks.Lock;

/**
 * Created by tyf on 2018/4/6
 */
@Service
public class TestJob {


    private Logger log = LoggerFactory.getLogger(this.getClass());

    @Autowired
    GenerateIDService generateIDService;

//    @Scheduled(cron = "0 0/1 * * * ?")
    public void testJob() {

    }

    @Scheduled(cron = "0 0/1 * * * ?")
    public void testJob1() {



    }


}

